namespace Billing
{
    using Billing.Controls;
    using System;
    using System.Data;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    public class Home : Page
    {
        protected ucPageTitle ucPageTitle1;
        protected UpdatePanel UpdatePanel3;

        private void GetPermission()
        {
            ClsACLHelper cls = new ClsACLHelper();
            string pageName = this.Page.ToString().Substring(4, this.Page.ToString().Substring(4).Length - 5) + ".aspx";
            cls.SetPermission(LoginUser.TreeMenu, pageName);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.Session["BUID"] == null)
            {
                base.Response.Redirect("default.aspx",true);
            }
            this.GetPermission();
        }

        protected void Page_LoadComplete(object sender, EventArgs e)
        {
        }
    }
}
